KgcCore.Attributes
1.2.4
dotnet add package KgcCore.Attributes --version 1.2.4
NuGet\Install-Package KgcCore.Attributes -Version 1.2.4
<PackageReference Include="KgcCore.Attributes" Version="1.2.4" />
paket add KgcCore.Attributes --version 1.2.4
#r "nuget: KgcCore.Attributes, 1.2.4"
// Install KgcCore.Attributes as a Cake Addin #addin nuget:?package=KgcCore.Attributes&version=1.2.4 // Install KgcCore.Attributes as a Cake Tool #tool nuget:?package=KgcCore.Attributes&version=1.2.4
KgcCore.Attributes
KgcCore.Attributes is a Razor project developed by Alejandro Muñoz for Koff Guerrero Consultants (KGC).
Description
/**
- KgcCore.Attributes is a project that utilizes the Razor syntax for creating dynamic web pages in the Kgc framework.
- It provides a convenient way to generate HTML content by combining HTML markup with C# code.
- This project aims to simplify the process of building web applications by allowing developers to write
- server-side code directly within the HTML files. */
KgcCore.Attributes Members
Here is a list of Razor components available in the KgcRazor project:
- KgcBorder: /**
- The
KgcBorder
component is a reusable component that provides a styled border around its content. - It can be used to visually separate sections of a page or to highlight specific content.
- Usage:
-
- <KgcBorder>
- </KgcBorder>
-
- Props:
-
color
(string, optional): The color of the border. Defaults to "#000".
-
thickness
(number, optional): The thickness of the border in pixels. Defaults to 1.
-
radius
(number, optional): The border radius in pixels. Defaults to 0. */
- KgcButtonLink: /**
- Represents a button link component in the KGC (Koff & Guerrero Consultants - www.koffguerrero.com) application.
- This component is used to render a clickable button that navigates to a specified URL.
- @component
- @example
- // Usage:
- <KgcButtonLink url="/home" label="Go to Home" />
- @param {string} url - The URL to navigate to when the button is clicked.
- @param {string} label - The label text to display on the button.
- @param {string} [color] - The color of the button (optional).
- @param {string} [size] - The size of the button (optional).
- @param {boolean} [disabled] - Specifies whether the button is disabled (optional).
- @param {function} [onClick] - The callback function to be called when the button is clicked (optional).
- @returns {JSX.Element} The rendered button link component. */
- Component 3: [Description of Component 3]
- Component 4: [Description of Component 4]
- Component 5: [Description of Component 5]
Feel free to explore and utilize these components in your web application development.
Installation
- Clone the repository
- Navigate to the project directory
- Run the project
Usage
To use the KgcRazor project, follow these steps:
- Open the project in your preferred development environment.
- Build the project to ensure all dependencies are resolved.
- Configure the necessary settings in the
appsettings.json
file. - Run the project.
- Access the application in your web browser at
http://localhost:5000
(or the specified port).
You can now interact with the KgcRazor project and explore its features.
Contributing
Not Allowed
License
This library es exclusive for Koff & Guerrero Consultants users
Contact
For any inquiries, please contact alejandro.munoz@koffguerrero.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- KgcCore.Models (>= 1.1.5)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on KgcCore.Attributes:
Package | Downloads |
---|---|
KgcRazor
Package Description |
|
KgcCore.Services
Package Description |
|
KgcCore.Razor
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.4 | 482 | 8/13/2024 |